package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基准路线对应点对象 route_station
 *
 * @author ruoyi
 * @date 2025-10-21
 */
public class RouteStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 功能主键 */
    private String id;

    /** 基准线路编号 */
    @Excel(name = "基准线路编号")
    private String routeid;

    /** 位置描述 */
    @Excel(name = "位置描述")
    private String location;

    /** 坐标经度 */
    @Excel(name = "坐标经度")
    private String longitude;

    /** 坐标纬度 */
    @Excel(name = "坐标纬度")
    private String dimension;

    /** 分组标记 */
    @Excel(name = "分组标记")
    private String flag;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 版本（乐观锁） */
    @Excel(name = "版本", readConverterExp = "乐=观锁")
    private Long version;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setRouteid(String routeid)
    {
        this.routeid = routeid;
    }

    public String getRouteid()
    {
        return routeid;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setDimension(String dimension)
    {
        this.dimension = dimension;
    }

    public String getDimension()
    {
        return dimension;
    }
    public void setFlag(String flag)
    {
        this.flag = flag;
    }

    public String getFlag()
    {
        return flag;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setVersion(Long version)
    {
        this.version = version;
    }

    public Long getVersion()
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("routeid", getRouteid())
            .append("location", getLocation())
            .append("longitude", getLongitude())
            .append("dimension", getDimension())
            .append("flag", getFlag())
            .append("sort", getSort())
            .append("version", getVersion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
